package ligne2vie.topos.shared.bo;

import java.io.Serializable;

/**
 * The class {@link TGoogleUser} allows providing information about an authenticated google user.
 * 
 * @author thuguerre
 * @since 1.0.0
 */
public class TGoogleUser implements Serializable {

	/**
	 * Default serial UID.
	 */
	private static final long serialVersionUID = 5304019485364946199L;

	private String authDomain;
	private String email;
	private String nickname;
	private String userId;

	/**
	 * Default constructor. Required to implement {@link Serializable}.
	 */
	protected TGoogleUser() {
	}

	public TGoogleUser(String authDomain, String email, String nickname, String userId) {
		super();
		this.authDomain = authDomain;
		this.email = email;
		this.nickname = nickname;
		this.userId = userId;
	}

	public String getAuthDomain() {
		return authDomain;
	}

	public void setAuthDomain(String authDomain) {
		this.authDomain = authDomain;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}
